package io.renren.service;

import io.renren.common.utils.PageUtils;
import io.renren.entity.BalanceDetailEntity;

import java.util.Date;
import java.util.Map;

import com.baomidou.mybatisplus.service.IService;

/**
 * 收支明细表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-09-12 13:56:12
 */
public interface BalanceDetailService extends IService<BalanceDetailEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 我的红包盈利
	 * 
	 * @param memberId
	 * @param startDate
	 * @return
	 */
	double myProfit(Long memberId, Date startDate);
}
